import axios from "axios";

const request = axios.create({
    withCredentials: false,
    baseURL: '',
    timeout: 3000
})

// 请求拦截器
request.interceptors.request.use(
    config => {

    },
    error => {

    }
)

// 响应拦截器
request.interceptors.response.use(
    config => {

    },
    error => {

    }
)

// 注：所有请求根据业务类型名称封装到request文件夹下
export default request